namespace com.ytocargo.EntityFramework.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class foc2 : DbMigration
    {
        public override void Up()
        {
            AddColumn("YGFOC.T5001", "SEND_FLAG", c => c.Decimal(precision: 1, scale: 0));
            Sql("UPDATE YGFOC.T5001 SET SEND_FLAG = 0");
            Sql("ALTER TABLE YGFOC.T5001 MODIFY SEND_FLAG DEFAULT 0 NOT NULL");
        }
        
        public override void Down()
        {
            DropColumn("YGFOC.T5001", "SEND_FLAG");
        }
    }
}
